package com.axiu;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class LoginActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        Button back = (Button) findViewById(R.id.top_bar_back);
        back.setVisibility(View.GONE);
        Button login = (Button) findViewById(R.id.login_btn);
        login.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                AlertDialog myDialog = new AlertDialog.Builder(LoginActivity.this).create();
                myDialog.show();
                myDialog.getWindow().setContentView(R.layout.alert_dialog);

            }
        });
    }
}
